﻿@using Whoever.Framework.Utils;

@helper Back()
{
    <button type="button" class="btn btn-default btn-sm align-left" data-bind="click: function(){history.back();}"><span class="glyphicon glyphicon-chevron-left"></span></button>
}

@helper Create()
{
    <button type="button" class="btn btn-default btn-sm align-right" title="@{Localized.Action("Create");}" data-bind="click: Main.ChangeHash.bind($data,'Create')"><span class="glyphicon glyphicon-plus"></span></button>
}

@helper Forward()
{
    <button type="button" class="btn btn-default btn-sm align-right" data-bind="click: function(){history.forward();}"><span class="glyphicon glyphicon-chevron-right"></span></button>
}

@helper Filter()
{
    <button type="button" class="btn btn-default btn-sm align-right" data-bind="click: viewModel.FilterList"><span class="glyphicon glyphicon glyphicon-filter"></span></button>
}

@helper FilterModal()
{
    <button type="button" class="btn btn-default btn-sm align-right" data-toggle="modal" data-target="#filterModal"><span class="glyphicon glyphicon glyphicon-filter"></span></button>
}